package com.ruoyi.system.api.domain.caigou;

import com.ruoyi.common.core.annotation.Excel;
import com.ruoyi.common.core.web.domain.BaseEntity;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

import java.math.BigDecimal;

/**
 * 供应商报表对象 finer_supplier_report
 *
 * @author wl
 * @date 2024-11-12
 */
public class SupplierReport extends BaseEntity {
    private static final long serialVersionUID = 1L;

    /**
     * 主键id
     */
    private Integer id;

    /**
     * 年份
     */
    @Excel(name = "年份")
    private String year;

    /**
     * 月份
     */
    @Excel(name = "月份")
    private String month;

    /**
     * 供货商
     */
    @Excel(name = "供货商")
    private String supName;

    /**
     * 采购订单数量
     */
    @Excel(name = "采购订单数量")
    private Integer buyOrderCount;

    /**
     * 采购金额
     */
    @Excel(name = "采购金额")
    private BigDecimal purchaseAmount;

    /**
     * 入库金额
     */
    @Excel(name = "入库金额")
    private BigDecimal inStockAmount;

    /**
     * 结算金额
     */
    @Excel(name = "结算金额")
    private BigDecimal settlementAmount;

    /**
     * 已结算金额
     */
    @Excel(name = "已结算金额")
    private BigDecimal settledAmount;

    /**
     * 未结算金额
     */
    @Excel(name = "未结算金额")
    private BigDecimal unsettledAmount;

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getYear() {
        return year;
    }

    public void setYear(String year) {
        this.year = year;
    }

    public String getMonth() {
        return month;
    }

    public void setMonth(String month) {
        this.month = month;
    }

    public String getSupName() {
        return supName;
    }

    public void setSupName(String supName) {
        this.supName = supName;
    }

    public Integer getBuyOrderCount() {
        return buyOrderCount;
    }

    public void setBuyOrderCount(Integer buyOrderCount) {
        this.buyOrderCount = buyOrderCount;
    }

    public BigDecimal getPurchaseAmount() {
        return purchaseAmount;
    }

    public void setPurchaseAmount(BigDecimal purchaseAmount) {
        this.purchaseAmount = purchaseAmount;
    }

    public BigDecimal getInStockAmount() {
        return inStockAmount;
    }

    public void setInStockAmount(BigDecimal inStockAmount) {
        this.inStockAmount = inStockAmount;
    }

    public BigDecimal getSettlementAmount() {
        return settlementAmount;
    }

    public void setSettlementAmount(BigDecimal settlementAmount) {
        this.settlementAmount = settlementAmount;
    }

    public BigDecimal getSettledAmount() {
        return settledAmount;
    }

    public void setSettledAmount(BigDecimal settledAmount) {
        this.settledAmount = settledAmount;
    }

    public BigDecimal getUnsettledAmount() {
        return unsettledAmount;
    }

    public void setUnsettledAmount(BigDecimal unsettledAmount) {
        this.unsettledAmount = unsettledAmount;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this, ToStringStyle.MULTI_LINE_STYLE)
                .append("id", getId())
                .append("year", getYear())
                .append("month", getMonth())
                .append("supName", getSupName())
                .append("buyOrderCount", getBuyOrderCount())
                .append("purchaseAmount", getPurchaseAmount())
                .append("inStockAmount", getInStockAmount())
                .append("settlementAmount", getSettlementAmount())
                .append("settledAmount", getSettledAmount())
                .append("unsettledAmount", getUnsettledAmount())
                .toString();
    }
}
